<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>测试文档</title>
    <script src="../dist/index.umd.cjs"></script>
    <style>
      #app {
        height: 300px;
        width: 300px;
        border: 1px solid red;
      }
    </style>
  </head>
  <body>
    <div id="app"></div>
    <script>
      const mc = new MyComponent("app");
      console.log("mc", mc);
      mc.init();
    </script>
  </body>
</html>
